from po.base_api import Base_Api


class Teacher(Base_Api):
    def tecat_deatil(self,tid):
        data = {
            "method":"get",
            "url":self.host+"/zxx/v4/teacher/detail",
            "params":{"tid":tid}
        }
        r = self.send(data)
        return  r


    def teacher_cource(self,tid):
        data = {
            "method":"get",
            "url":self.host+"/zxx/v4/teacher/courses",
            "params":{"tid":tid}
        }
        r = self.send(data)
        return r